package com.tmeone.erpone.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tmeone.erpone.entity.TProductHandover;
import com.tmeone.erpone.mapper.ProductHandoverMapper;
import com.tmeone.erpone.service.IProductHandoverService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductHandoverServiceImpl extends ServiceImpl<ProductHandoverMapper, TProductHandover> implements IProductHandoverService {
    @Autowired
    private ProductHandoverMapper productHandoverMapper;
    @Override
    public IPage<TProductHandover> selectProductHandover(IPage<TProductHandover> page) {
        return productHandoverMapper.selectProductHandover(page);
    }

    @Override
    public IPage<TProductHandover> selectProductHandoverById(IPage<TProductHandover> page, String orderId) {
        return productHandoverMapper.selectProductHandoverById(page,orderId);
    }

}
